<%
# Copyright (C) 2014 - present Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
%>

<form id="move_quiz_item_form" style="display:none" class="form-dialog" title="{{#t}}Move Item{{/t}}">
  <div class="form-dialog-content">
    <h2 class="move-select-header">
      <%= t(:where_to_move, "Where would you like to move %{quiz_item}?", quiz_item: raw("<b class=\"quiz_item_name\"></b>")) %>
    </h2>

    <div class="child_container">
      <div class="move_select move_select_group">
        <div><label for="move_select_group">{{#t}}Into question group:{{/t}}</label></div>
        <select id="move_select_group"></select>
      </div>

      <div class="move_select move_select_question">
        <div><label for="move_select_question">{{#t}}Place:{{/t}}</label></div>
        <select id="move_select_question"></select>
      </div>
    </div>
  </div>

  <div class="form-controls">
    <button id="move_quiz_item_cancel_btn" class="cancel_button btn dialog_closer" type="button">{{#t}}Cancel{{/t}}</button>
    <button id="move_quiz_item_submit_btn" class="create_group btn btn-primary" data-text-while-loading='{{#t}}Saving...{{/t}}' type="submit">
      {{#t}}Save{{/t}}
    </button>
  </div>
</form>
